package cn.core.sign.service.intf;

import cn.core.sign.eo.Account;
import cn.core.sign.qo.AccountQO;
import cn.core.sign.vo.AccountVO;
import cn.core.tool.util.Paging;
import cn.core.tool.util.Param;

import java.util.Collection;

/**
 * 账号 服务接口
 */
public interface IAccountService {

  /**
   * 账号 >>> 保存
   */
  public Account save(Account eo) throws Exception;

  /**
   * 账号 >>> 批量保存
   */
  public Collection<Account> saveBatch(Collection<Account> eos) throws Exception;

  /**
   * 账号 >>> 修改
   */
  public Account update(Account eo) throws Exception;

  /**
   * 账号 >>> 批量修改
   */
  public Collection<Account> updateBatch(Collection<Account> eos) throws Exception;

  /**
   * 账号 >>> 删除
   */
  public void remove(Account eo) throws Exception;

  /**
   * 账号 >>> 批量删除
   */
  public void removeBatch(Collection<Account> eos) throws Exception;

  /**
   * 账号 >>> 数据量
   */
  public Long count(AccountQO qo) throws Exception;

  /**
   * 账号 >>> 主键查询
   */
  public Account pk(AccountQO qo) throws Exception;

  /**
   * 账号 >>> 查询
   */
  public Collection<Account> query(AccountQO qo) throws Exception;

  /**
   * 账号 >>> 分页
   */
  public Paging<Account> paging(Param<AccountQO> param) throws Exception;

  /**
   * 账号 >>> 业务数据量
   */
  public Long countVo(AccountQO qo) throws Exception;

  /**
   * 账号 >>> 业务主键查询
   */
  public AccountVO pkVo(AccountQO qo) throws Exception;

  /**
   * 账号 >>> 业务查询
   */
  public Collection<AccountVO> queryVo(AccountQO qo) throws Exception;

  /**
   * 账号 >>> 业务分页
   */
  public Paging<AccountVO> pagingVo(Param<AccountQO> param) throws Exception;

}
